package ua.dto
{
	[Bindable]
	[RemoteClass(alias="com.flatsmap.dto.SearchCriteria")]
	public class SearchCriteria
	{

		public var maxPrice:Number;
		public var minPrice:Number;
		
		public var maxFloor:Number;
		public var minFloor:Number;
		
		public var maxSquare:Number;
		public var minSquare:Number;
		
		public var maxRoomNumber:Number;
		public var minRoomNumber:Number;
		
		public var street:String;
		public var region:String;
		public var city:String;

		public function SearchCriteria()
		{
			maxPrice = -1;
			minPrice = -1;
			maxFloor = -1;
			minFloor = -1;
			maxSquare = -1;
			minSquare = -1;
			maxRoomNumber = -1;
			minRoomNumber = -1;
			street = null;
			region = null;
			city = null;
		}
	}
}